const peopleData = [
  {
    type: '武昌',
    value: 300,
  },
  {
    type: '汉口',
    value: 400,
  },
  {
    type: '汉阳',
    value: 200,
  },
  {
    type: '其他',
    value: 300,
  },
];

const config = {
  appendPadding: 10,
  angleField: 'value',
  colorField: 'type',
  radius: 0.9,
  label: {
    labelHeight: 28,
    content: '{name}',
  },
  interactions: [{ type: 'element-active' }],
  height: 270,
  legend: {
    position: 'top',
  },
  itemName: {
    style: {
      fill: '#fff',
    },
  },
};

export { peopleData, config };
